#include "user.h"

User::User(int id, char *name, char *passwd,char *icon)
{
    this->id=id;
    strcpy(this->name,name);
    strcpy(this->passwd,passwd);
    strcpy(this->icon,icon);
}

User::User()
{
}

User::~User()
{
}

int User::getId()
{
    return this->id;
}

char *User::getName()
{
    return this->name;
}

char *User::getIcon()
{
    return this->icon;
}

char *User::getPasswd()
{
    return this->passwd;
}
